package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.util.DigestUtils;

import java.nio.charset.StandardCharsets;


@Mapper
public interface WmSensitiveMapper extends BaseMapper<WmSensitive> {

    public static void main(String[] args) {
        String s = DigestUtils.md5DigestAsHex("123456a1kjd91".getBytes(StandardCharsets.UTF_8));
        System.out.println(s);
    }
}